package com.iplant.ams.service.po.dms.maintenance;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iplant.base.po.BasePO;
import com.iplant.base.po.enums.DBSchemas;
import com.iplant.base.utils.annotation.po.DBBasePO;
import com.iplant.base.utils.annotation.condition.DBCondition;
import com.iplant.base.utils.annotation.field.DBField;

import java.io.Serializable;

/**
 * 设备构型BOM
 *
 * @author YouWang·Peng
 * 2022-8-8 09:20:21
 */
@DBBasePO(TableName = "dms_maintenance_rule_item", Schemas = DBSchemas.AMS, Code = false, Name = false, Active =
        false, CheckName = {
        "MaintenanceRuleID,MaintenanceItemID"})
public class DMSMaintenanceRuleItem extends BasePO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
    * 保养规则ID
    **/
    @DBCondition
    @DBField
    public int MaintenanceRuleID = 0;
    /**
    * 保养项ID
    **/
    @DBCondition
    @DBField
    public int MaintenanceItemID = 0;

    @JsonProperty("MaintenanceRuleID")
    public int getMaintenanceRuleID() {
        return MaintenanceRuleID;
    }

    public void setMaintenanceRuleID(int maintenanceRuleID) {
        MaintenanceRuleID = maintenanceRuleID;
    }

    @JsonProperty("MaintenanceItemID")
    public int getMaintenanceItemID() {
        return MaintenanceItemID;
    }

    public void setMaintenanceItemID(int maintenanceItemID) {
        MaintenanceItemID = maintenanceItemID;
    }
}
